﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelManager
{
    public class Guest : Person
    {
        public Guest(string firstName, string lastName, string address, string phone, string egn, string id, string nationality)
            : base(firstName, lastName, address, phone, egn, id, nationality)
        {

        }

        public Guest()
        {

        }

        public override decimal Purchase(PurchaseInfo purchaseInfo)
        {
            return purchaseInfo.Price;
        }
    }
}